package com.program.houai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.program.houai.entity.UserVipCardEntity;
import com.program.houai.entity.WxUserEntity;
import com.program.houai.po.UserCardPO;
import com.program.houai.vo.UserOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: EOrder-master
 * @ClassName: UserVipCardMapper
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/8/29 21:40
 */
@Mapper
public interface UserVipCardMapper extends BaseMapper<UserVipCardEntity> {

    IPage<UserVipCardEntity> getCardList(@Param("page") IPage page, @Param("userId")  int userId);

    List<UserVipCardEntity> getCardList(@Param("userId")  int userId);


    IPage<UserCardPO> getCardListNew(@Param("page") IPage page, @Param("userId")  int userId,@Param("level") int level );
}
